<?php require APP_ROOT.'public/top.php';
$edit=pg('edit');
?>

<div data-v-7f4a8000="" class="g-bd f-cb">
	<?php require APP_ROOT.'public/left.php';?>
      <div class="g-mn">
        <div class="g-ct">
          <div class="account-manage">
            <h3 class="g-ct-title">我的账户</h3>
            <form action="index.php?m=member&a=mydata" method="post" class="c-form" id="completeForm" style="margin-left: 50px; width: 800px;">
              <dl class="f-cb">
                <dt>账户名称:</dt>
                <dd><?php echo $member['username'];?> <!--<span class="fl" style="padding-top: 3px;"><img title="未通过信息真实性认证" src="https://p0.ssl.qhimg.com/t01b63ede1d8ffd1f54.png"></span> <a id="modify_account" href="https://i.360.cn/profile/index?585749150554541" target="_blank" class="fl" style="padding-top: 5px; padding-left: 5px;"><img width="16" height="16" src="https://mdsp2.qhimg.com/t01de173ec9db5209eb.png"></a>
                -->
                </dd>
              </dl>
              <!---->
              <dl class="f-cb">
                <dt>状态:</dt>
                <dd>
                  <?php $input= M('input')->where(array('input_pid'=>549,'input_value'=>$member['state']))->find();?>
                  
                  <span class="red" style="color:<?php echo $input['color'];?>"><?php echo $input['input_name'];?></span> <!----></dd>
              </dl>
              <dl class="f-cb">
                <dt>上次登录:</dt>
                <dd>2020-07-25 15:18:47</dd>
              </dl>
              <p class="c-seg"></p>
              <dl class="f-cb">
                <dt>公司全称:</dt>
                <dd><?php echo $member['gsqc'];?></dd>
              </dl>
              <dl class="f-cb">
                <dt>所在地区:</dt>
                <dd id="cArea"> <?php if($edit){?>
                <input name="data[szdq]" type="text" class="c-input" value="<?php echo $member['szdq'];?>" data-vv-id="_rrjuphhyj" aria-required="true" aria-invalid="false" >
				<?php }else{ echo $member['szdq'];}?>                
                 </dd>
              </dl>
              <dl class="f-cb">
                <dt>公司地址:</dt>
                <dd id="cAddr"> <?php if($edit){?>
				
                <input name="data[gsdz]" type="text" class="c-input" value="<?php echo $member['gsdz'];?>" data-vv-id="_rrjuphhyj" aria-required="true" aria-invalid="false" >
                <?php }else{ echo $member['gsdz'];}?> 
                </dd>
              </dl>
              <dl class="f-cb">
                <dt>联系人:</dt>
                <dd> <?php if($edit){?>
                <input name="data[lxr]" type="text" class="c-input" value="<?php echo $member['lxr'];?>" data-vv-id="_rrjuphhyj" aria-required="true" aria-invalid="false" >
                <?php }else{ echo $member['lxr'];}?>
                 </dd>
              </dl>
              <dl class="f-cb">
                <dt>电子邮箱:</dt>
                <dd> <?php if($edit){?>
                <input name="data[email]" type="text" class="c-input" value="<?php echo $member['email'];?>" data-vv-id="_rrjuphhyj" aria-required="true" aria-invalid="false" >
                <?php }else{ echo $member['email'];}?>
                </dd>
              </dl>
              <dl class="f-cb">
                <dt>公司网址:</dt>
                <dd>
                  <div><?php if($edit){?>
                  <input name="data[domain]" type="text" class="c-input" value="<?php echo $member['domain'];?>" data-vv-id="_rrjuphhyj" aria-required="true" aria-invalid="false" >
                  <?php }else{ echo $member['domain'];}?>
                  </div>
                  <p><?php echo $site['gswzycz'];?></p>
                </dd>
              </dl>
              <dl class="f-cb">
                <dt>电话号码:</dt>
                <dd>
                  <?php echo $member['iphone'];?>
                
                  <div><?php echo $site['dhhmycz'];?></div>
                </dd>
              </dl>
              <dl class="f-cb">
                <dt>手机号码:</dt>
                <dd> <?php echo $member['mobile'];?>
                  <div><?php echo $site['sjhmycz'];?></div>
                </dd>
              </dl>
              <dl class="f-cb">
                <dt>&nbsp;</dt>
                <dd>
                  <input checked="checked" disabled="disabled" data-vv-delay="50" type="checkbox" name="agree" id="agree_check" title="*" data-vv-id="_bunsijnb6" aria-required="true" aria-invalid="false">同意并阅读
                 </dd>
              </dl>
              
              <dl class="f-cb">
                <dt>&nbsp;</dt>
                <dd><a id="edit" href="<?php if($edit){echo 'javascript:mysave();';}else{echo 'index.php?m=member&a=mydata&edit=1';}?>" class="c-btn4">修改</a>&nbsp;&nbsp;&nbsp;&nbsp; </dd>
              </dl>
            </form>
<script>
	 function mysave(){
		$('#completeForm').submit();
	}
</script>
          </div>
        </div>
      </div>
    </div>

  

<?php require APP_ROOT.'public/bottom.php';?>
